﻿CREATE TRIGGER Projects_Tracking_Delete
ON [dbo].[Projects] 
AFTER delete
AS 
BEGIN
	UPDATE Sync.Projects_Tracking 
	SET LastUpdatedDate  = getdate(),
		IsDeleted = 1
	FROM Sync.Projects_Tracking s JOIN DELETED i
    ON s.ProjectID = i.ProjectID
END














